<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>Title</title>
</head>
<body>
    <div style="width: 100px;">
        <img th:src="@{/img/aa.png}" alt="" style="width: 100%;" />
    </div>
</body>
</html>